package com.xinke.module.system.model.vo.tenant;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.xinke.component.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.xinke.component.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 租户分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TenantPageReqVO extends PageParam {

    @Schema(description = "租户名", example = "李四")
    private String tenantName;

    @Schema(description = "联系人的用户编号", example = "15233")
    private Long contactUserId;

    @Schema(description = "联系人", example = "赵六")
    private String contactName;

    @Schema(description = "联系手机")
    private String contactPhone;

    @Schema(description = "租户状态（1正常 0停用）", example = "2")
    private Integer tenantStatus;

    @Schema(description = "绑定域名")
    private String bindWebsite;

    @Schema(description = "租户套餐编号", example = "110")
    private Long packageId;

    @Schema(description = "过期时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] expireTime;

    @Schema(description = "账号数量", example = "21982")
    private Integer accountCount;

}